
const KEY_TYPE_STORAGE_KEY = '__global_key_type__';

export function setStrategyType(value) {
  sessionStorage.setItem(KEY_TYPE_STORAGE_KEY, JSON.stringify(value));
}

export function getStrategyType() {
  const result = sessionStorage.getItem(KEY_TYPE_STORAGE_KEY);
  return JSON.parse(result)
}
